#include "library/base/string.h"


namespace Base
{
	std::ostream& operator<<(std::ostream& Output,const String& Object)
	{
		Output<<Object.GetBuffer();
		return Output; 
	}

	std::istream& operator>>(std::istream& Input,String& Object)
	{
		char Buffer[1000];
		Input>>Buffer;
		Object=Buffer;
		return Input;
	}
	
	std::wostream& operator<<(std::wostream& Output, const WString& Object)
	{
		Output<<Object.GetBuffer();
		return Output;
	}
	
	std::wistream& operator>>(std::wistream& Input, WString& Object)
	{
		wchar_t Buffer[1000];
		Input>>Buffer;
		Object=Buffer;
		return Input;
	}
}